package Kuaishou;

import java.util.HashMap;
import java.util.Map;

/**
 * @author leiwenkang <leiwenkang@kuaishou.com>
 * Created on 2022-05-05
 */
public class Test53PutAll {
    public static void main(String[] args) {
        Map<String, Double> map = new HashMap<>();

        Map<String, Double> map1 = new HashMap<>();
        map1.put("1", 1.0);
        map1.put("2", 2.0);

        Map<String, Double> map2 = new HashMap<>();
        map2.put("2", 1.5);
        map2.put("3", 2.5);

        map.putAll(map1);
        map.putAll(map2);

        System.out.println(map);
        System.out.println(2 % 1);
    }
}
